package com.segmentfault.mvc.dao;

import com.segmentfault.mvc.entity.GoodsEntity;

import java.util.List;

public interface IGoodsDao {

    List<GoodsEntity> selectAll();
    GoodsEntity selectById(Long goodsId);
    void insert(GoodsEntity goodsEntity);
    void update(GoodsEntity goodsEntity);
    void delete(Long goodsId);
}
